package com.cosina.game.robodefence;

import android.app.Activity;
import android.os.Bundle;

import com.cosina.game.robodefence.eventlistener.EventListenerReger;
import com.cosina.game.robodefence.ui.ImageManager;
import com.cosina.game.robodefence.util.ActivityUtil;

public class RoboDefenceActivity extends Activity {
	
	public static Activity self;
	
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        self = this;
        ActivityUtil.noNotificationBar(this);
        ActivityUtil.noTitleBar(this);
        
        this.setContentView(R.layout.main);
        
        ImageManager.init(this.getResources());
    }

	@Override
	public void setContentView(int layoutResID) {
		super.setContentView(layoutResID);
		EventListenerReger.doReg(layoutResID,this);
	}
}